]> dgit.raspbian.org Git - gnome-shell.git/commit
portalHelper: Enable WebKit sandbox if available
authorMichael Catanzaro <mcatanzaro@gnome.org>
Wed, 5 Feb 2020 22:18:11 +0000 (22:18 +0000)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 6 Feb 2020 17:28:40 +0000 (18:28 +0100)
commit35063c9e7c2f145fc4328cda53c9651a2ee73cf6
tree984539a538532727e253e00b6b0d3e9b6b77e082
parentded45867815a3afa811a326f3baa5bf04ef98157
portalHelper: Enable WebKit sandbox if available

The portal helper is rather sensitive because potentially-hostile Wi-Fi
networks can decide to launch it whenever they want (by blocking the
user's connection to the nmcheck domain) and load whatever web content
they want into it. So having this unsandboxed is really extraordinarily
risky. Previously it was a risk we had to accept, because WebKit did not
have a web process sandbox, but now it does. So let's bubblewrap all the
things!

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/983
js/portalHelper/main.js